package com.github.pig.admin.service.impl;

import com.github.pig.admin.mapper.ActAssigneeMapper;
import com.github.pig.admin.model.ActAssignee;
import com.github.pig.admin.service.ActAssigneeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class ActAssigneeServiceImpl  implements ActAssigneeService {
 
  @Autowired
  ActAssigneeMapper actAssigneeMapper;
  @Override
  public int deleteByNodeId(String nodeId) {
    return actAssigneeMapper.deleteByNodeId(nodeId);
  }

  @Override
  public List<ActAssignee> selectList(ActAssignee actAssignee) {
    return null;
  }

  @Override
  public void insertSelective(ActAssignee actAssignee) {

  }

  @Override
  public void updateActInstDate(Date now, String taskId) {
    actAssigneeMapper.updateActInstDate( now,  taskId);
  }


}
